package com.wntms.yjj.service;
import com.wntms.yjj.pojo.Customer;

import java.util.List;

public interface CustomerManagerService {

    public boolean delete(Integer id);

    public boolean update(Customer customer);

    public List<Customer> findAll();

    public Customer findByTel(String tel);

    public Customer findByName(String name);

    public List<Customer> findByType(String type);

    public Customer findByCondition(Customer customer);

    public List<Customer> findByPage(Integer currentPage, Integer pageSize);
}
